package events {
	import flare.vis.data.NodeSprite;
	import flare.vis.events.DataEvent;
	
	import flash.events.Event;

	public class RandomEvent extends Event {
		public static const TOGGLE_STATUS:String = "toggleStatus";
		public var fromStatus:Boolean;
		public var toStatus:Boolean;
		public var node:NodeSprite;
		public function RandomEvent(type:String, item:NodeSprite, from:Boolean, to:Boolean) {
			super(type, false, true);
			fromStatus = from;
			toStatus = to;
			node = item;
		}
	}
}